using System;

namespace Pegasus.Windows.Forms.Explorer
{
	/// <summary>
	/// Used to pass data with the explorer events
	/// </summary>
	public class ExplorerEventArgs : EventArgs
	{
		// Local Instance Values
		private ExplorerNode m_node;

		/// <summary>
		/// Initializes a new instance of the <see cref="ExplorerEventArgs"/> class.
		/// </summary>
		public ExplorerEventArgs( ExplorerNode node )
		{
			m_node = node;
		}

		/// <summary>
		/// Gets the node.
		/// </summary>
		/// <value>The node.</value>
		public ExplorerNode Node
		{
			get
			{
				return m_node;
			}
		}
	}
}
